import { Injectable } from '@nestjs/common';
import { TypeOrmCrudService } from '@nestjsx/crud-typeorm';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { GoodsAttribute } from '../../entities/goods_attribute.entity';

@Injectable()
export class GoodsAttributeService extends TypeOrmCrudService<GoodsAttribute>{
  constructor(
    @InjectRepository(GoodsAttribute)
    private readonly rep: Repository<GoodsAttribute>
  ){
    super(rep);
  }
}
